libxl: provide TOSTRING in libxl_internal.h and libxlu_internal.h
authorIan Jackson <ian.jackson@eu.citrix.com>
Thu, 2 Jun 2011 17:46:32 +0000 (18:46 +0100)
committerIan Jackson <ian.jackson@eu.citrix.com>
Thu, 2 Jun 2011 17:46:32 +0000 (18:46 +0100)
commitd72ede734de97c250c440f18d8f056f666bf5448
tree1a4aa55fbb4352ba03fe76a6fc97d650c62a5e45
parentdc7f5bd00c5a1f2db5fc55e4d2c99c637c9093ef
libxl: provide TOSTRING in libxl_internal.h and libxlu_internal.h

Provide a copy of the standard TOSTRING macro in libxlu_internal.h,
for the benefit of patches later in this series.

Also, move TOSTRING to libxl_internal.h from a .c file for the
benefit of future other callers in libxl proper.

(These cannot be combined because libxlu cannot include
libxl_internal.h and libxl should not include libxlu_internal.h.)

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Committed-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
tools/libxl/libxl.c
tools/libxl/libxl_internal.h
tools/libxl/libxlu_internal.h